package com.shop.goods.mapper;

import com.shop.domain.ProductDetails;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
* @author 靳润波
* @description 针对表【goods_product_details(商品详情表)】的数据库操作Mapper
* @createDate 2024-08-01 11:20:28
* @Entity com.itbuka.domain.ProductDetails
*/
@Mapper
public interface ProductDetailsMapper extends BaseMapper<ProductDetails> {

     Integer reduceStock(@Param("productId") Long productId, @Param("num") Integer num);
}




